package vn.edu.hcmut.cse.ai.search.problems.blocksworld;

import vn.edu.hcmut.cse.ai.infrastructure.Action;
import vn.edu.hcmut.cse.ai.search.problems.blocksworld.actiontype.BlocksWorldActionType;

public class BlocksWorldAction implements Action{

    private final BlocksWorldActionType actionType;
    
    @Override
    public boolean isNoOpAction() {
        return false;
    }
    
     public BlocksWorldAction(BlocksWorldActionType actionType) {
        this.actionType = actionType;
    }

    public BlocksWorldActionType getActionType() {
        return actionType;
    }

    @Override
    public String toString() {
        return "BlocksWorldAction{" + "actionType=" + actionType + '}';
    }
}
